package com.shaozi.nc.data.model;

import org.springframework.data.mongodb.core.mapping.Document;

import com.shaozi.data.mongo.model.ModelBase;

@Document(collection = "im_companyUserInfo")
public class UserInfoModel extends ModelBase {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6992120980411136761L;
	
	public static final String FIELDNAME_companyId = "companyId";
	private String companyId;
	
	public static final String FIELDNAME_uid = "uid";
	private String uid;
	
	public static final String FIELDNAME_username = "username";
	private String username;
	/**
	 * 0存在，1已经删除
	 **/
	public static final int USERINFO_EXIST = 0;
	public static final int USERINFO_DELETED = 1;
	public static final String FIELDNAME_isDel = "isDel";
	private Integer isDel;

	public UserInfoModel() {

	}

	/**
	 * 适配JSON解析company_id;
	 */
	public String getCompany_id() {
		return companyId;
	}

	public void setCompany_id(String company_id) {
		this.companyId = company_id;
	}

	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Integer getIsDel() {
		return isDel;
	}

	public void setIsDel(Integer isDel) {
		this.isDel = isDel;
	}
}
